package params

type PostReq struct {
	UserId  int    `form:"userid" json:"userid" url:"userid" binding:"required"`
	Content string `form:"content" json:"content" url:"content" binding:"required"`
	Status  string `form:"status" json:"status" url:"status" binding:"required"`
}

type PostDelReq struct {
	Id int `form:"id" json:"id" url:"id" binding:"required"`
}

type PosShowReq struct {
	Id int `form:"id" json:"id" url:"id" binding:"required"`
}

type PosShowListReq struct {
	Page int `form:"page" json:"page" url:"page" binding:"required"`
	Size int `form:"size" json:"size" url:"size" binding:"required"`
}
